<header>
<div class="navbar navbar-inverse">
	<div class="container">
		<div class="navbar-header">
		  <button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target=".navbar-collapse">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand hidden-sm" href="/" >首页</a>
		</div>
		<div class="navbar-collapse collapse" role="navigation">
		  <ul class="nav navbar-nav">
		      <volist name="cat_list" id="vo">
		          <if condition="$vo['child']">
		          
			          <li class="dropdown">
		                  <a class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" target="_blank" href="<{:U('Home/Index/index','cid='.$vo['node_id'])}>"><{$vo.node_name}><span class="caret"></span></a>
		                  <ul class="dropdown-menu">
		                   <volist name="vo['child']" id="sub">
		                    <li><a target="_blank" href="<{:U('Home/Index/index','cid='.$vo['node_id'])}>"><{$sub.node_name}></a></li>
		                    </volist>
		                  </ul>
	                   </li>
		          <else/>
		          <li><a target="_blank" href="<{:U('Home/Index/index','cid='.$vo['node_id'])}>"><{$vo.node_name}></a></li>
		          </if>
		      </volist>
		  </ul>
		  <ul class="nav navbar-nav navbar-right hidden-sm">
		      <form class="navbar-form navbar-left" role="search" method="get" action="<{$search_url}>">
                <div class="form-group">
                  <input type="text" class="form-control" placeholder="Search" name="k">
                </div>
                <button type="submit" class="btn btn-default">搜索</button>
              </form>
		  </ul>
		</div>
	</div>
</div>
</header>